<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="./static/styles.css"/>
</head>
<body>
<div id="container">
<div id="blobpost">
<h3>Quick Submit</h3>
<p/>Submit urls or short notes. Click on link below to submit longer items.
<p/>
<form action="/submitblob" method="post">
<input type="text" name="contents"/>
<input type="submit"/>
</form>
<a href="/submitblob">Full Submit</a>
</div>
{% for blob in blobs %}
	<div id="blobpost">
	<div id="blobauthoretc">

	{% if blob.task.title %}
		{{ blob.author.nickname }} > {{ blob.task.title }}
	{% else %}
		{{ blob.author.nickname }}
	{% endif %}

	{% if blob.title %}
		<a href="./viewblob?id={{ blob.blobid }}">{{ blob.title }}</a>({{ blob.blobtype }})
	{% endif %}
	</div>
	<div id="blobcontent">
	{% ifequal blob.blobtype 1 %}
		<img src="{{blob.contents}}"/>
	{% else %}
		{% if blob.description %}
			{{ blob.description }}
		{% else %}
			{{ blob.contents }}
		{% endif %}

		{% if blob.short %}
		<a href="./viewblob?id={{ blob.blobid }}">(...)</a>
		{% endif %}
	{% endifequal %}
	</div>
	</div>
{% endfor %}
</div>
</body>
</html> 
